package top.pmwly.service;


import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Herther
 * @version 1.0.0
 * @ClassName Myservice.java
 * @Description 自定义的拦截器
 * @createTime 2021年08月19日 15:15:00
 */
public interface Myservice {
    /**
     * 自定义权限
     * @param request
     * @param authentication
     * @return
     */
    boolean hasPremission(HttpServletRequest request, Authentication authentication);
}
